package com.lxh.simplefactory;

/**
 * 简单工厂模式
 */
public class Main {

    public static void main(String[] args) {
	// write your code here
        Operation operation = OperationFactory.createOperation("-");
        double result = operation.getResult(1, 2);
        System.out.println(result);
    }
}
